package com.useeinfo.service.impl;

import com.useeinfo.dao.MemberMapper;
import com.useeinfo.module.Member;
import com.useeinfo.service.IMember;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by xianping on 2017/1/20.
 */
@Component
public class MemberImpl implements IMember {

    @Autowired
    private MemberMapper memberMapper;

    @Override
    public List<Member> findMembers() {
        List<Member> members = memberMapper.findMembers();
        return members;
    }
}
